package com.dt76.smallloanbackenduser.hystrix.xiaohao;

import com.dt76.smallloanbackenduser.pojo.xiaohao.CheckState;
import com.dt76.smallloanbackenduser.remote.xiaohao.CheckStateRemote;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Component
public class CheckStateHystrix implements CheckStateRemote {

    @Override
    public List<CheckState> qryAllCheckStateByID(@RequestParam("id") int id) {
        return null;
    }

    @Override
    public int addCheckState(@RequestBody CheckState checkState) {
        return 0;
    }
}
